package com.easybuilder.core.authorization.dao;

import com.easybuilder.common.base.dao.BaseDao;
import com.easybuilder.core.authorization.entity.SysGiteeUser;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.ExampleMapper;
import org.springframework.stereotype.Repository;


@Repository
public interface SysGiteeUserDao extends BaseDao<SysGiteeUser>, ExampleMapper<SysGiteeUser> {

    @Select("select * from sys_gitee_user where user_id = #{userId}")
    SysGiteeUser getByUserId(Long userId);
}